<extend name="Public:base"/>

<block name="main">
<div id="yzh-content" class="col-xs-12">
    <div class="main-title">
        <h2>主题选择</h2>
    </div>


    <div class="row">
        <volist name="themes" id="vo">
        <div class="col-md-3">
            <div class="thumbnail">
                <a href="{:U('Wap/chosetheme?theme='.$vo[name])}"><img src="{$vo.preview}"></a>
                <div class="caption">
                    <if condition="$vo['use']==1">
                        <h3>已使用</h3>
                    <else/>
                        <a href="{:U('Wap/chosetheme?theme='.$vo[name])}">未使用</a>
                    </if>
                    名称:{$vo.name}
                </div>
            </div>
        </div>
        </volist>
    </div>
</div>
</block>